//
//  listModel.m
//  Jwy-ijkplayerDemo
//
//  Created by XiaoMing on 16/8/11.
//  Copyright © 2016年 JWY. All rights reserved.
//

#import "listModel.h"

@implementation listModel

- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}


- (void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        NSString * valueStr = [NSString stringWithFormat:@"%@",value];
        [self setValue:valueStr forKey:@"ID"];
    }
    else
    {
        NSString * valueStr = [NSString stringWithFormat:@"%@",value];
        [super setValue:valueStr forKey:key];
    }
    
}

@end
